/**
 * @param {number[][]} matrix
 * @param {number} target
 * @return {boolean}
 * @description 暴力 一个一个找
 */

var findNumberIn2DArray = function (matrix, target) {
    if (!matrix || !matrix.length) {
        return false
    }
    for (let i = 0; i < matrix.length; i++) {
        for (let j = 0; j < matrix[i].length; j++) {
            if(matrix[i][j]===target){
                return true
            }
        }
    }
    return false
};